<!doctype html>
<html>

	<head>
		<meta charset="utf-8">
		<title></title>
		<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
		<link href="css/mui.css" rel="stylesheet" />
		<style type="text/css">
				html {
					width: 100%;
					height: 100%;
				}
				
				body {
					height: 100%;
					background-color: transparent;
				}
				
				.mui-popover .mui-popover-arrow {
					left: auto;
					right: 10px!important;
				}
				
				.mui-popover {
					display: block;
					width: auto;
					opacity: 1;
					text-align: center;
				}
				

				.mui-table-view-cell > a:not(.mui-btn) {
					background-color: #444444;
					color: #FFF;
				}
				.mui-table-view-cell > a:not(.mui-btn).mui-active {
					background-color: #222222;
				}
				.mui-popover .mui-popover-arrow:after {
					background-color: #444444;
				}
			</style>
	</head>

	<body>
		<div id="topPopover" class="mui-popover"
			 style="position:fixed; top: 50px;right:5px;">
			<div class="mui-popover-arrow" style="top: -25px; border-color: #444444;"></div>
			<ul class="mui-table-view">
				<li class="mui-table-view-cell"><a href="#" id="add_friend">添加好友</a></li>
				<li class="mui-table-view-cell"><a href="#">Item2</a></li>
				<li class="mui-table-view-cell"><a href="#">Item3</a></li>
				<li class="mui-table-view-cell"><a href="#">Item4</a></li>
				<li class="mui-table-view-cell"><a href="#">Item5</a></li>
			</ul>
		</div>
		<script src="js/mui.js"></script>
		<script type="text/javascript">
			mui.init();
			
			var add_friend = document.getElementById("add_friend");
			add_friend.addEventListener("tap", function() {
				mui.openWindow("search_friend.html");
			});
			
			mui.plusReady(function () {
			    ws = plus.webview.currentWebview();
				ws.setStyle({
					mask: "none"
				});
				window.addEventListener("tap", function() {
					ws.hide();
				});
			});	
		</script>
	</body>

</html>
